//
//  CommentModel.m
//  wtshoppingcite
//
//  Created by TW on 15-1-16.
//  Copyright (c) 2015年 TW. All rights reserved.
//

#import "CommentModel.h"

@implementation CommentModel

- (id)initWithCommentInfo:(NSDictionary *)info{
    if(self = [super init]){
        id userIcon = [info objectForKey:@"userIcon"];
        self.userIcon = ObjToString(userIcon);
        
        id nickName = [info objectForKey:@"nickName"];
        self.nickName = ObjToString(nickName);
        
        id createTime = [info objectForKey:@"createTime"];
        self.createTime = ObjToString(createTime);
        
        id content = [info objectForKey:@"content"];
        self.content = ObjToString(content);
        
    }
    return self;
}


@end
